<template>
    <div class="parent">
        <!-- <div class="child" style="color: white;">欢迎进入,泥页岩岩相识别系统</div> -->
        <div class="container">
            <div class="midContent">
                <div class="title">WELCOME</div>
                <div class="subtitle">欢迎进入,泥页岩岩相识别系统</div>
                <img :src=midImg alt="" />
            </div>
        </div>
    </div>
</template>

<script>
    export default {
        components: {},
        data() {
            return {
                midImg: require('../../assets/img/homeInfo.svg')
            };
        },
        computed: {},
        created() {
            this.changeData()
        },
    }
</script>

<style scoped>
    /* .parent {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        background: url(../../assets/img/305.png);
        background-size: 100% 100%;
    } */

    .child {
        font-size: 30px;
        font-weight: 600;
    }

    .container {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .midContent {
        margin-top: 12vh;
        text-align: center;
    }

    .title {
        margin-bottom: 15px;
        color: #666666;
        font-weight: 500;
        font-size: 42px;
    }

    .subtitle {
        margin-bottom: 27px;
        color: #666666;
        font-size: 36px;
    }

    img {
        width: 100%;
        height: 416px;
    }
</style>